//
//  SettingsApi.h
//  Api
//
//  Created by CPX on 2018/6/19.
//  Copyright © 2018年 CPX. All rights reserved.
//

#import "BaseApi.h"

/**
 设置相关接口
 @author yzl
 */
@interface SettingsApi : BaseApi

+ (void)getLanguageList:(Success)success failure:(Failure)failure;

+ (void)downloadTranslation:(NSDictionary*)params progress:(DownloadProgress)progress success:(Success)success failure:(Failure)failure;

+ (void)downloadTranslationV2:(NSDictionary*)params progress:(DownloadProgress)progress success:(Success)success failure:(Failure)failure;

+ (void)getUpdateInfoWithSuccess:(Success)success failure:(Failure)failure;

@end
